<template>
  <!-- 房源信息 -->
  <div class="box">
    <heads></heads>
    <div class="tit1">
      <div class="list">
        <div class="li">
          <img src="../../assets/logo.png" />
          <!-- <span>帮帮同城</span> -->
        </div>
        <div>二手房</div>
        <div>新房</div>
        <div>租房</div>
        <div class="sousuo">
          <input type="text" placeholder="请输入区域小区名称开始找房" />
          <p class="el-icon-search"></p>
        </div>
        <!-- <div class="but">下载帮帮同城app</div> -->
        <downloadAppBtn></downloadAppBtn>
      </div>
    </div>
    <!-- 这里应该有个显示7张图的跑马灯轮播 -->

    <floor></floor>
    <div class="cover"></div>
    <div class="images">
      <img src="../../assets/出售.png" alt="" />
      <span class="text1">出售</span>
      <img src="../../assets/出租.png" alt="" />
      <span class="text2">出租</span>
      <div class="close">
        <div class="el-icon-circle-close" ></div>
      </div>
    </div>
  </div>
</template>
<script>
import floor from "../../components/floor";
import heads from "../../components/head";
export default {
  components: {
    floor,
    heads,
  },
  data() {
    return {
      checkedCities: [],
    };
  },
};
</script>
<style lang="less" scoped>
.box {
  position: relative;
  padding-bottom: 200px;
}
.tit1 {
  width: 100%;
  height: 120px;
  background-color: #f2f2f2;
  .list {
    width: 1200px;
    margin-left: 50%;
    padding-top: 32px;
    transform: translateX(-50%);
    background-color: #f2f2f2;
    div {
      display: inline-block;
      vertical-align: middle;
      font-size: 20px;
      color: #333333;
      margin-right: 40px;
      cursor: pointer;
    }
    .li {
      font-size: 28px;
      color: #64b6a8;
      margin-right: 60px;
      img {
        /* width: 60px;
        height: 60px; */
      }
      span {
        vertical-align: middle;
      }
    }
    .sousuo {
      position: relative;
      display: inline-block;
      vertical-align: middle;
      width: 380px;
      height: 50px;
      background: #ffffff;
      border-radius: 4px;
      font-size: 18px;
      overflow: hidden;
      input {
        width: 300px;
        height: 55px;
        line-height: 55px;
        text-indent: 16px;
        font-size: 18px;
      }
      img {
        width: 25px;
        height: 25px;
        margin-left: 20px;
        cursor: pointer;
      }
      p {
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 55px;
        background-color: #64b6a8;
        text-align: center;
        line-height: 55px;
        font-size: 24px;
        cursor: pointer;
        color: #ffffff;
      }
    }
    .but {
      display: inline-block;
      width: 200px;
      height: 50px;
      background: #64b6a8;
      border-radius: 6px;
      text-align: center;
      line-height: 50px;
      color: #fff;
    }
  }
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
.cover {
  width: 100%;
  height: 900px;
  position: absolute;
  background: #000;
  opacity: 0.5;
  display: block;
}
.images {
  top: 463px;
  width: 500px;
  position: relative;
  margin: 0 auto;
  img {
    width: 100px;
    height: 100px;
    z-index: 22;
    margin-right: 120px;
  }
  span {
    position: absolute;
    color: #fff;
  }
  .text1 {
    top: 120px;
    left: 30px;
  }
  .text2 {
    top: 120px;
    left: 260px;
  }
  .close {
    z-index: 23;
    position: absolute;
    margin: 0 auto;
    div {
      font-size: 30px;
      position: absolute;
      top: 80px;
      left: 140px;
    }
  }
}
</style>